# Template file for 'evilwm'
pkgname=evilwm
version=1.1.1
revision=1
build_style=gnu-makefile
makedepends="libXrandr-devel"
short_desc="A minimalist window manager for the X Window System"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
homepage="http://evilwm.sourceforge.net"
license="Public Domain"
distfiles="http://www.6809.org.uk/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="79589c296a5915ee0bae1d231e8912601fc794d9f0a9cacb6b648ff9a5f2602a"

pre_build() {
	sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
}

post_install() {
	vinstall "${FILESDIR}/evilwm.desktop" 644 usr/share/xsessions
	vlicense "${FILESDIR}/LICENSE"
}
