# Template file for 'bspwm'
pkgname=bspwm
version=0.9
revision=4
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel"
short_desc="A tiling window manager based on binary space partitioning"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="https://github.com/baskerville/bspwm"
distfiles="https://github.com/baskerville/bspwm/archive/0.9.tar.gz"
checksum=1efb2db7b8a251bcc006d66a050cf66e9d311761c94890bebf91a32905042fde

do_build() {
	make CC=$CC
}
do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vlicense LICENSE
	vinstall contrib/bash_completion 644 usr/share/bash-completion/completions bspc
	vinstall contrib/zsh_completion 644 usr/share/zsh/site-functions _bspc
}
