# Template file for 'bspwm'
pkgname=bspwm
version=0.9.2
revision=1
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-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/${version}.tar.gz"
checksum=33689d138d50f42444820b3a76b84fee7fa3af58e33ad589319c84e51fefdcf0

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
}
