# Template file for 'windowchef'
pkgname=windowchef
version=0.4.1
revision=1
build_style=gnu-makefile
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="A 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=f1d06da84dafc4bbbacf273815af5bbbf318afa524194b3ab1c55ebc71d2a14d

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

post_install() {
	vlicense LICENSE
}
