1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools elisp-common
8 DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
9 HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
10 SRC_URI="https://github.com/djcb/mu/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="emacs guile mug"
21 emacs? ( >=app-editors/emacs-24.4:* )
22 guile? ( >=dev-scheme/guile-2.2 )
28 BDEPEND="virtual/pkgconfig"
30 SITEFILE="70mu-gentoo-autoload.el"
39 $(use_enable emacs mu4e)
41 $(use_enable mug webkit)
45 econf "${myeconfargs[@]}"
50 dodoc AUTHORS HACKING NEWS NEWS.org TODO README ChangeLog
52 elisp-install ${PN} mu4e/*.el mu4e/*.elc
53 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
60 doinfo guile/mu-guile.info
73 if [[ -n ${REPLACING_VERSIONS} ]]; then
74 elog "After upgrading from an old major version, you should"
75 elog "rebuild your mail index."
81 einfo "To use mu4e you need to configure it in your .emacs file"
82 einfo "See the manual for more information:"
83 einfo "https://www.djcbsoftware.nl/code/mu/mu4e/"
86 use emacs && elisp-site-regen
90 use emacs && elisp-site-regen