# $Id: PKGBUILD 92556 2013-06-08 11:18:52Z bpiotrowski $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Thayer Williams <thayer@archlinux.org>

pkgname=xbindkeys
pkgver=1.8.5
pkgrel=4
pkgdesc="Launch shell commands with your keyboard or your mouse under X"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/xbindkeys/xbindkeys.html"
license=('GPL')
depends=('libx11' 'guile')
optdepends=('tk: xbindkeys_show')
source=(http://www.nongnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('4b66a05594dbc6888c0a6439351aa66d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}