# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A small but very powerful text-based mail client + sidebar" HOMEPAGE="http://thomer.com" SRC_URI="http://thomer.com/mutt/mutt-1.5.11-sidebar.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" S=${WORKDIR}/mutt-1.5.11-sidebar IUSE="" DEPEND="${RDEPEND} net-mail/mailbase sys-devel/autoconf" src_compile() { econf || die "configure failed" emake || die "make failed" } src_install() { emake install || die "install failed" } pkg_postinst() { echo einfo "If you are new to mutt you may want to take a look at" einfo "the Gentoo QuickStart Guide to Mutt E-Mail:" einfo " http://www.gentoo.org/doc/en/guide-to-mutt.xml" einfo "add yours ~/.muttrc" einfo "set sidebar_width=12" einfo "set sidebar_visible=no" einfo "mailboxes =inbox =ml" einfo "color sidebar_new yellow default" einfo "bind index \CP sidebar-prev" einfo "bind index \CN sidebar-next" einfo "bind index \CO sidebar-open" einfo "bind pager \CP sidebar-prev" einfo "bind pager \CN sidebar-next" einfo "bind pager \CO sidebar-open" einfo "macro index b 'toggle sidebar_visible'" einfo "macro pager b 'toggle sidebar_visible'" echo }