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.0 )
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 README.org ChangeLog
52 elisp-install ${PN} mu4e/*.el mu4e/*.elc
53 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
57 doman man/mu-add.1 man/mu-bookmarks.5 man/mu-cfind.1 man/mu-easy.1 \
58 man/mu-extract.1 man/mu-find.1 man/mu-help.1 man/mu-index.1 \
59 man/mu-mkdir.1 man/mu-query.7 man/mu-remove.1 \
60 man/mu-script.1 man/mu-server.1 man/mu-verify.1 \
61 man/mu-view.1 man/mu.1
64 doinfo guile/mu-guile.info
77 if [[ -n ${REPLACING_VERSIONS} ]]; then
78 elog "After upgrading from an old major version, you should"
79 elog "rebuild your mail index."
85 einfo "To use mu4e you need to configure it in your .emacs file"
86 einfo "See the manual for more information:"
87 einfo "https://www.djcbsoftware.nl/code/mu/mu4e/"
90 use emacs && elisp-site-regen
94 use emacs && elisp-site-regen