# Template file for 'xbanish'
pkgname=xbanish
version=1.6
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-3-Clause"
homepage="https://github.com/jcs/xbanish"
distfiles="https://github.com/jcs/xbanish/archive/v${version}.tar.gz"
checksum=6e9bec35720b3d0f047028ad248a758249c7139c62ef140d9d39df6bd382712d

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

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