pkgname=unclutter
pkgver=8
pkgrel=5
pkgdesc="Hides mouse cursor when not in use"
url="http://www.x.org/contrib/utilities/unclutter-8.README"
license="GPL"
depends=(x-server)
makedepends=()
conflicts=()
replaces=()
backup=(etc/unclutter.cfg)
install=
arch='i686'
source=(ftp://ftp.x.org/contrib/utilities/$pkgname-$pkgver.tar.Z unclutter.cfg)


build() {
  cd $startdir/src/$pkgname
  make LDLIBS=-L/usr/X11R6/lib || return 1
  mkdir -p $startdir/pkg/usr/X11R6/bin
  make DESTDIR=$startdir/pkg BINDIR=$startdir/pkg/usr/X11R6/bin install
  mkdir -p $startdir/pkg/etc
  cp -f  $startdir/src/unclutter.cfg $startdir/pkg/etc/unclutter.cfg
}
md5sums=('83d7a6498b69078f869378f801b6a84b'
         '7277205ebd875a0175a5fdb184c6373c')
md5sums=('83d7a6498b69078f869378f801b6a84b'
         '07815312d084a31595cd90ab45c68727')