# Template file for 'xbanish'
pkgname=xbanish
version=1.7
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=64477d1429bcc76d481863b4736af2bb1870472cc48539fe0322563d981d43d5

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

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