# Template file for 'xbanish'
pkgname=xbanish
version=1.5
revision=1
build_style=gnu-makefile
makedepends="libXfixes-devel libXt-devel libXi-devel libX11-devel"
short_desc="Banish the mouse cursor when typing, show it again when the mouse moves"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="BSD"
homepage="https://github.com/jcs/xbanish"
distfiles="https://github.com/jcs/xbanish/archive/v${version}.tar.gz"
checksum=d10007a468227bb11549ee341c84ff4b4f1e2f49a3d03a971d5a35a56b117cbc

pre_build() {
	export LIBS="$LDFLAGS"
}

do_install() {
	vbin xbanish
	vman xbanish.1
	head -27 xbanish.c > LICENSE
	vlicense LICENSE
}
