# Template file for 'moe'
pkgname=moe
version=1.16
revision=1
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc"
conf_files="/etc/moe.conf"
hostmakedepends="lzip"
makedepends="ncurses-devel"
short_desc="Powerful and user-friendly text editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/moe/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.lz"
checksum=4c25cd78919272aebec0a7f8c126011bb5a4b5d87422807a3423216f0a17a868

pre_configure() {
	# remove hardcoded values
	sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
}
