# Template file for 'evilwm'
pkgname=evilwm
version=1.4.3
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=d5945b20b12c91db2412fac0dbda3fb9c3ec8debb8e1b109838992b2b1bbe5d4

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

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