You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
4 years ago
|
# Copyright 2019-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
4 years ago
|
inherit optfeature
|
||
4 years ago
|
|
||
|
DESCRIPTION="A system for automatically configuring neomutt and isync"
|
||
|
HOMEPAGE="https://github.com/LukeSmithxyz/mutt-wizard"
|
||
|
|
||
|
if [[ ${PV} == 9999 ]]; then
|
||
|
inherit git-r3
|
||
|
EGIT_REPO_URI="https://github.com/LukeSmithxyz/mutt-wizard.git"
|
||
|
else
|
||
4 years ago
|
SRC_URI="https://github.com/LukeSmithxyz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
4 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
fi
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
|
||
|
RDEPEND="
|
||
|
app-admin/pass
|
||
3 years ago
|
mail-client/neomutt[notmuch,sasl]
|
||
4 years ago
|
mail-mta/msmtp
|
||
|
net-mail/isync[ssl]
|
||
|
"
|
||
|
|
||
|
# needed because there is no 'all' target defined in MAKEFILE
|
||
|
src_compile() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake PREFIX="/usr" DESTDIR="${D}" install
|
||
|
einstalldocs
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
optfeature "enable viewing html mails" www-client/lynx
|
||
|
optfeature "enable periodic syncing of mails" virtual/cron
|
||
|
optfeature "enable viewing of simple images" media-gfx/imagemagick
|
||
|
optfeature "enable notifications when syncing using mailsync" x11-libs/libnotify
|
||
|
optfeature "enable command line address book" app-misc/abook
|
||
|
optfeature "enable use of gpg for signing and verifying" app-crypt/gnupg
|
||
|
}
|