# Template file for 'mmutils'
pkgname=mmutils
version=1.2
revision=1
build_style=gnu-makefile
makedepends="libxcb-devel"
short_desc="Set of utilities to easily get xrandr monitor information"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="ISC"
homepage="https://github.com/pockata/mmutils"
distfiles="https://github.com/pockata/${pkgname}/archive/v${version}.tar.gz"
checksum=da4b3214d6c6a4608dd5755512ae2b55d1bd2a698d41c894fa49bc25762a920b

LDFLAGS="-lxcb -lxcb-randr"

pre_build() {
	export LD=${CC}
}

pre_install() {
	vmkdir usr/share/man/man1
}

post_install() {
	vlicense LICENSE
}
