# Template file for 'moe'
pkgname=moe
version=1.9
revision=1
build_style=gnu-makefile
conf_files="/etc/moerc"
hostmakedepends="lzip"
makedepends="ncurses-devel"
short_desc="Powerful and user-friendly text editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.gnu.org/software/moe/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.lz"
checksum=18919e9ffae08f34d8beb3a26fc5a595614e0aff34866e79420ca81881ff4ef3

do_configure() {
	sed -e '/^CXX=/d;/^CXXFLAGS=/d;/^LDFLAGS=/d' -i configure
	# Custom configure script, doesn't support cross compiling
	./configure --prefix=/usr --sysconfdir=/etc
}
