# Tanım: Berkeley Mail'den türetilen bir komut satırı posta kullanıcı aracısı.
# URL: http://heirloom.sourceforge.net/mailx.html
# Paketçi: milisarge
# Gerekler: openssl kerberos sendmail

isim=mailx
surum=12.5	
devir=1
kaynak=(http://ftp.debian.org/debian/pool/main/h/heirloom-$isim/heirloom-mailx_12.5.orig.tar.gz
		http://www.linuxfromscratch.org/patches/blfs/svn/heirloom-$isim-12.5-fixes-1.patch )
 
derle() {

cd heirloom-$isim-$surum

patch -Np1 -i $SRC/heirloom-mailx-12.5-fixes-1.patch 
	
make SENDMAIL=/usr/sbin/sendmail -j1

make PREFIX=$PKG/usr UCBINSTALL=/usr/bin/install install 
	
ln -v -sf mailx $PKG/usr/bin/mail 
ln -v -sf mailx $PKG/usr/bin/nail 
install -v -m755 -d $PKG/usr/share/doc/heirloom-mailx-12.5 
install -v -m644 README $PKG/usr/share/doc/heirloom-mailx-12.5

}