# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup djcb mu 1.0 v
maintainers {sean @seanfarley} openmaintainer
description Command-line tools to index and search email (aka maildir-utils)
mu is a set of command-line tools for Linux/Unix that enable you to \
quickly find the e-mails you are looking for. First, a tool called \
mu-index fills a database with information about all your e-mails. After \
that, you can easily search for them, using mu-find and its dedicated \
homepage http://www.djcbsoftware.nl/code/mu/
checksums rmd160 4928dbb7effc924da85b8df0da92f46412a6c9e7 \
sha256 3eed4e1139d296089dcf685d6b4e8a5abe43e0f9cbae6663694250ab889f1291
depends_build port:pkgconfig
depends_lib port:gmime port:xapian-core port:guile
configure.args --disable-silent-rules --with-gui=none --disable-mu4e --disable-webkit --enable-guile
# see https://github.com/djcb/mu/issues/380
configure.cxxflags-delete -Os
if {${os.platform} eq "darwin" && ${os.major} >= 13} {
# see https://github.com/djcb/mu/issues/332
variant emacs description {Build with emacs bindings} {
depends_lib-append path:${emacs_binary}:${emacs_binary_provider}
configure.env-append EMACS=${emacs_binary}
build.env-append ELCFLAGS=-Q
configure.args-delete --disable-mu4e
configure.args-append --enable-mu4e
github.setup djcb mu 5ccd26177175
checksums rmd160 8cbdfb35c945face4ac1e96fa445a609098f0780 \
sha256 a681346cbb72fd185f4e975b574ba8210278bd19d1c0d609a23311bfae084593 \
# set the displayed version to a 6-character string since most releases
set over [string range $version 0 5]
set dver $over-[string range ${github.version} 0 6]
reinplace "s,$over,$dver,g" ${worksrcpath}/configure.ac