# Template file for 'windowchef'
pkgname=windowchef
version=0.5.2
revision=1
build_style=gnu-makefile
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="Stacking WM that doesn't handle keyboard or pointer inputs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/tudurom/windowchef"
distfiles="https://github.com/tudurom/windowchef/archive/v${version}.tar.gz"
checksum=d130b4f2367b4a026c364b20522f34464dba59461943952640af6a7ca65ed2c9

pre_build() {
	sed -i 's|^CFLAGS +=|override CFLAGS +=|g' config.mk
	sed -i 's|^LDFLAGS +=|override LDFLAGS +=|g' config.mk
}

post_install() {
	vlicense LICENSE
}
