# Template file for 'keynav'
pkgname=keynav
version=0.0.20180821
revision=1
_commit=78f9e076a5618aba43b030fbb9344c415c30c1e5
build_style=gnu-makefile
make_use_env=yes
make_install_args="PREFIX=\${DESTDIR}/usr"
hostmakedepends="pkg-config perl"
makedepends="cairo-devel libXinerama-devel xdotool-devel libglib-devel
 libXrandr-devel"
checkdepends="xorg-server-xvfb"
short_desc="Quick way to use cursor via the keyboard"
maintainer="hazen2215 <haz@disroot.org>"
license="BSD-3-Clause"
homepage="https://www.semicomplete.com/projects/keynav/"
distfiles="https://github.com/jordansissel/keynav/archive/${_commit}.tar.gz"
checksum=def79c32ea8aec57ec65310ede962f4d5d54ef26c5adccb351a19fb5683b678f

do_check() {
	./test.sh
}

post_install() {
	vsconf keynavrc
	vlicense COPYRIGHT
}
