# Template file for 'herbstluftwm'
pkgname=herbstluftwm
version=0.5.2
revision=2
hostmakedepends="pkg-config"
makedepends="libXinerama-devel libglib-devel"
conf_files="/etc/xdg/${pkgname}/autostart"
short_desc="A manual tiling window manager for X"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="http://herbstluftwm.org"
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
checksum=c53d3309f9f05cc4b1b23907f4c0c403d850817dac8d1cc481e122fece599995

do_build() {
	make COLOR=0 CC=$CC LD=$CC
}

do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
	vmkdir usr/share/bash-completion/completions
	mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
}
