# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xeyes
pkgver=1.1.1
pkgrel=0
pkgdesc="A pair of eyes that follow your mouse in X11"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev libxt-dev libxext-dev libxmu-dev libxrender-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure \
               --prefix=/usr \
               --datarootdir=/usr/share \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="a3035dcecdbdb89e864177c080924981  xeyes-1.1.1.tar.bz2"
sha256sums="975e98680cd59e1f9439016386609546ed08c284d0f05a95276f96aca6e8a521  xeyes-1.1.1.tar.bz2"
sha512sums="3cb734239fa3180a9cc0eb2564c5a04f5e5c64ea314079c0604cebdbb821132f95a2c113dab476af8820308f0e6dbd4eac02b5da45dc2ed78a5d3ca010453618  xeyes-1.1.1.tar.bz2"