# Template file for 'wmx'
pkgname=wmx
version=8
revision=2
build_style=gnu-configure
makedepends="libX11-devel libXext-devel libXmu-devel libXpm-devel freetype-devel
 libXft-devel fontconfig-devel libXcomposite-devel"
short_desc="a simple window manager for X"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD"
homepage="http://www.all-day-breakfast.com/wmx"
distfiles="http://www.all-day-breakfast.com/wmx/wmx-${version}.tar.gz"
checksum=7316090e59fa8988219d6819e426870c6d8c0739818d77e8770e8108ddf0aedd
make_build_args="LDFLAGS+=-lXft LDFLAGS+=-lfontconfig CXXFLAGS+=-I${XBPS_CROSS_BASE}/usr/include/freetype2"

do_install() {
	vbin wmx
	vinstall ${FILESDIR}/wmx.desktop 644 usr/share/xsessions
}
