# Template file for 'bspwm'
pkgname=bspwm
version=0.9.4
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-2-Clause"
homepage="https://github.com/baskerville/bspwm"
distfiles="https://github.com/baskerville/bspwm/archive/${version}.tar.gz"
checksum=7c921e8d8f98c2c7b5e0d389a7838fc82b819adc773f931d46590db9fe06597a

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
}
