# autopkg rules for mutt
# http://www.mutt.org/

sub build {
  shellcmd('./configure --prefix=/usr --sysconfdir=/etc/mutt --with-mailpath=/var/spool/mail --with-charmaps=/usr/share/i18n/charmaps --enable-pop --enable-imap --enable-locales-fix i386-slackware-linux',
    'configure');
  shellcmd('make', 'make');
  shellcmd("make install DESTDIR=$PKGDIR", 'make install');
  symlink('/usr/doc/mutt', "$PKGDIR/usr/doc/mutt-$VERSION");

  preserve_config('etc/mutt/Muttrc');
}



syntax highlighted by Code2HTML, v. 0.9.1