# Template file for 'bspwm'
pkgname=bspwm
version=0.9.3
revision=1
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="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=b356e3ff5754c63c94b36d904274c0ba16f9a8494e78a1c93bb23113f891bc9d

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
}
