--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/msmtp
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/msmtp.1.gz
+drwxr-xr-x root/root usr/man/man8/
+drwxr-xr-x root/root usr/sbin/
+lrwxrwxrwx root/root usr/sbin/sendmail -> /usr/bin/msmtp
--- /dev/null
+# Description: An SMTP client suitable for use with mutt etc.
+# URL: http://msmtp.sourceforge.net/
+# Packager: Jukka Heino, jukka dot heino at gmail dot com
+# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: openssl
+
+name=msmtp
+version=1.4.23
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --with-ssl=openssl \
+ --disable-nls
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+ install -d $PKG/usr/{sbin,man/man8}
+ ln -s /usr/bin/$name $PKG/usr/sbin/sendmail
+ ln -s /usr/man/man1/$name.1 $PKG/usr/man/man8/sendmail.8
+}