# Description: Text-based email client that sucks less
# URL: http://www.mutt.org
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: gdbm ncurses openssl zlib
name=mutt
build () {
cd $name-$version
- sed '/^SUBDIRS/ s/doc//' -i Makefile.am
- export oldincludedir"=I$CLFS/usr/include"
+ sed '/^SUBDIRS/ s/doc//' -i Makefile*
export CPPFLAGS="-I$CLFS/usr/include"
- export CFLAGS="-I$CLFS/usr/include"
+ export CFLAGS="$CPPFLAGS"
+ export oldincludedir="$CFLAGS"
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \