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="http://www.djcbsoftware.nl/code/mu/"
10 SRC_URI="https://github.com/djcb/mu/archive/${PV}.tar.gz -> ${P}.tar.gz"
21 emacs? ( >=app-editors/emacs-23.1:* )"
24 SITEFILE="70mu-gentoo.el"
32 # Todo: Make a guile USE-flag as soon as >=guile-2 is avaiable
33 econf --disable-guile \
36 $(use_enable emacs mu4e)
41 dodoc AUTHORS HACKING NEWS NEWS.org TODO README README.org ChangeLog
43 elisp-install ${PN} mu4e/*.el mu4e/*.elc
44 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
47 # TODO: Add guile man page when guile-2 is available.
48 doman man/mu-add.1 man/mu-bookmarks.5 man/mu-cfind.1 man/mu-easy.1 \
49 man/mu-extract.1 man/mu-find.1 man/mu-help.1 man/mu-index.1 \
50 man/mu-mkdir.1 man/mu-remove.1 man/mu-server.1 man/mu-verify.1 \
51 man/mu-view.1 man/mu.1
55 # Note: Fails with parallel make
61 einfo "To use mu4e you need to configure it in your .emacs file"
62 einfo "See the manual for more information:"
63 einfo "http://www.djcbsoftware.nl/code/mu/mu4e/"
66 elog "If you upgrade from an older major version,"
67 elog "then you need to rebuild your mail index."
69 use emacs && elisp-site-regen
73 use emacs && elisp-site-regen