# Template file for 'evilwm'
pkgname=evilwm
version=1.4.0
revision=1
build_style=gnu-makefile
makedepends="libXrandr-devel"
short_desc="Minimalist window manager for the X Window System"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://www.6809.org.uk/evilwm"
changelog="https://www.6809.org.uk/evilwm/doc/ChangeLog"
distfiles="https://www.6809.org.uk/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=96b361b499e4e29adf92c4a3006f877a0712a61a3931bc0d70c5cc925e588c34

pre_build() {
	vsed -i Makefile -e 's|^CFLAGS|#CFLAGS|'
}

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