Checked on a couple of machines, and most seem to have libncurses-dev
installed. Assuming that is for you (dpkg -l  |grep curses-dev), should
take about 20 seconds, and be as simple as

$ curl -O http://ftp.mutt.org/pub/mutt/mutt-2.2.13.tar.gz
$ tar xvzf mutt-2.2.13.tar.gz
$ cd mutt-2.2.13
## Adjust flags and patches to your liking
$ ./configure --prefix=$HOME --enable-imap --enable-smtp \
    --enable-hcache --disable-flock
$ make
$ make install

Then just add ~/bin/ to your $PATH.

Even though tokyo / kyoto cabinet runtime is enabled, you may need to
lcoally download the headers, or get them to install the devel packages
for you, to be able to build with --with-tokyocabinet or
--with-kyotocabinet (if you're using header cache, worth spending the
time, though, and either way, make sure to enable the header cache for
IMAP).

You'll run into permissions issues setting permissions on mutt_dotlock,
but that shouldn't be an issue since you're using IMAP anyway (IIRC it's
only needed for mail spool files in /var/mail with certain local
permissions anyway).

[iad1-shared-b8-29]$ ./mutt -v
Mutt 2.2.13 (2024-03-09)
Copyright (C) 1996-2023 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 5.15.86-grsec-bnxt-focal+ (x86_64)
ncurses: ncurses 6.2.20200212 (compiled with 6.2)
hcache backend: GDBM version 1.18.1. 27/10/2018
[...]

w

Reply via email to