# Template file for 'windowchef'
pkgname=windowchef
version=0.5.0
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="Diogo Leal <diogo@diogoleal.com>"
license="ISC"
homepage="https://github.com/tudurom/windowchef"
distfiles="https://github.com/tudurom/windowchef/archive/v${version}.tar.gz"
checksum=25a1ff361468f98df5291bd002946cf9adea9e14ef762a4b6e76e17919c52f6d

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

post_install() {
	vlicense LICENSE
}
