# Template file for 'oneko'
pkgname=oneko
version=1.2.sakura.5
revision=1
hostmakedepends="pkg-config"
makedepends="libX11-devel libXext-devel"
short_desc="Cat that chases around your cursor"
maintainer="wael <40663@protonmail.com>"
license="Public Domain"
homepage="http://www.daidouji.com/oneko"
distfiles="http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz"
checksum=2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f

do_build() {
	${CC} ${CFLAGS} -DSHAPE oneko.c -o oneko $(pkg-config --libs xext x11) -lm
}

do_install() {
	vbin oneko
	vman oneko.man oneko.1
	vman oneko.man.jp oneko.jp.1
}
