# Template file for 'slop'
pkgname=slop
version=4.2.17
revision=2
build_style=cmake
hostmakedepends="pkg-config cmake"
makedepends="imlib2-devel glew-devel libXext-devel libXrender-devel libXrandr-devel glm"
short_desc="Utility to query for a selection and print the region to stdout"
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
license="GPL-3"
homepage="https://github.com/naelstrof/slop"
distfiles="https://github.com/naelstrof/slop/archive/v${version}.tar.gz"
checksum=e0195424cda967573b30a837a1b050451df3b5a8cc34c60bcee918c20c0d318e

pre_build() {
	# Remove a stray include
	sed -e "/#include <execinfo.h>/d" \
		-i ${wrksrc}/src/main.cpp
}
