# -*- 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 0.9.18
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 0c6ed3a1986abe6e759472be6e4e371260cfbf52 \
sha256 3e745f7803bb95f188ea116276c4b901df9458309eda20459c89a27cbb6cdc04
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 e1c6fa4b95fc
checksums rmd160 b32d95914f5319839a6a214033e1f50569dddf5a \
sha256 f31720a123848ed5dcd80878f825c3c19bfff945f0fc58a5e7db85edfdc2fcc7
# 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