# Template build file for 'mu'.
pkgname=mu
version=0.9.12
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="xapian-core-devel gmime-devel sqlite-devel libuuid-devel"
short_desc="A tool for dealing with e-mail messages stored in the Maildir-format"
maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
homepage="http://www.djcbsoftware.nl/code/mu/"
license="GPL-3"
distfiles="https://github.com/djcb/mu/archive/v${version}.tar.gz"
checksum=b871124fc7774a2593815f89286671a8f31d7243bb898a8ca454685599f2b9af

pre_configure() {
	sed -i 's,-I${prefix}/include,,' contrib/Makefile.am
	autoreconf -fi
}
