Package Details: mutt-sidebar 1.6.2-2

Git Clone URL: (read-only)
Package Base: mutt-sidebar
Description: Small but very powerful text-based mail client with sidebar and trash patches from NeoMutt
Upstream URL:
Licenses: GPL
Conflicts: mutt
Provides: mutt
Submitter: None
Maintainer: tsuflux
Last Packager: tsuflux
Votes: 128
Popularity: 2.657412
First Submitted: 2006-10-18 12:10
Last Updated: 2016-07-09 14:56

Required by (6)

Sources (4)

Latest Comments

flatcap commented on 2016-07-16 13:40

The new settings should show up in the installed manual (it's built from the source code comments).

As for the sidebar docs on NeoMutt, they're out of date. It was important to get in a lot of upstream fixes, so I didn't have time to update the docs. They're high up in my todo list for the next release.

DeepBlue commented on 2016-07-16 09:09

Would you guys point me to the place where the changes are documented?

I used as reference and it doesn't mention any changes like that.

flatcap commented on 2016-07-11 22:47

"sidebar_refresh_time" has been removed. It didn't do what its name implied.

I created a temporary workaround so that noone would notice the change, but that went into the main NeoMutt repo, so it's not in this package.


derhil commented on 2016-07-11 18:46

The Sidebar has some changes from Upstream.

I set:

set mail_check_stats
set mail_check_stats_interval = 1
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"

To make it behave like before.

DeepBlue commented on 2016-07-11 17:39

The current version 1.6.2-2 isn’t working correctly. After installing, the variable sidebar_refresh_time in the configuration file is not recognized anymore and the mailboxes in the sidebar aren’t refreshed at startup.

As one opens a particular mailbox, only this one mailbox gets updated. New mail is indicated by color correctly in the sidebar.

tsuflux commented on 2016-06-25 16:53

@visibilityspots, sure, no problem. If there are any other architectures this package successfully builds on just comment here.

visibilityspots commented on 2016-06-25 15:07

would it be possible to add the armv6h architecture by default? I'm installing on a pi and with every update need to adopt the PKGBUILD file manually..

flatcap commented on 2016-06-23 15:27

@tsuflux, @lahwaacz
Fixed in git

Due to a hard-coded Curses constant in Mutt, Sidebar lied about its size.
During that lie, someone else told Sidebar to refresh itself.
Sidebar got confused and promptly vanished!

flatcap commented on 2016-06-23 11:47

Thanks for investigating.

> set mail_check = 0

Whoa! *Now* I can reproduce it. I shall fix it tonight.

Rich / FlatCap

lahwaacz commented on 2016-06-23 07:06

It seems to have been an issue with my config. After some time, I've been able to isolate the option responsible for this - it's "set mail_check = 0". It seems that the sidebar has a problem with this.

Many thanks for your help, flatcap.

flatcap commented on 2016-06-22 21:52

I've compiled the exact code you're using with all the same options, but I can't reproduce the problem.
I checked the code and I cannot see what's causing this (that has been introduced in the last update).
But that doesn't help you.


Please can you try the following and test after each one:

1) Rebuild the code from scratch.
Just in case a stray cosmic ray broke the build.

2) Create a config file "test.rc" with only the lines below (plus your mailboxes commands).
Then run: "./mutt -n -F test.rc"

set sidebar_visible = yes
set sidebar_width = 24
bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open

3) If 2) works correctly, please try: "./mutt -F test.rc"
Use the system config in /etc

4) If 2) works correctly, please try: "./mutt -n"
Use only YOUR config

lahwaacz commented on 2016-06-22 18:34

Also, opening a message has similar effect to sidebar-open, i.e. the sidebar disappears afterwards. When the sidebar is shown and I delete a message, it is highlighted in red and the corresponding row is shifted to the left side, thus overwriting part of the sidebar. Something is very wrong here, have you figured out anything @flatcap? Let me know where I can help.

flatcap commented on 2016-06-22 16:14

OK, thanks.
flatcap goes away to think...

lahwaacz commented on 2016-06-22 16:13

It's like "not there".

flatcap commented on 2016-06-22 15:58

Hmmm... Not much code changed between NeoMutt 2016-05-30 and 2016-06-11.
When you say "disappears", is it either:
"Not there" -- Index panel is flush to the left-hand side of the screen
"Not painted" -- No sidebar, but there is a big gap on the left

lahwaacz commented on 2016-06-22 15:54

I have now set the sidebar_highlight color and it does not have any effect - the "cursor" is still not highlighted, regardless of the color itself.
However, it does behave strangely with sidebar-toggle-visible: after each sidebar-next + sidebar-toggle-visible combination, the cursor is redrawn to highlight the correct row with correct color.

lahwaacz commented on 2016-06-22 15:28

Currently I have the 1.6.1-4 version installed, the previous was 1.6.1-2. My sidebar config is this:

set sidebar_visible = yes
set sidebar_width = 24

bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open

So the sidebar is shown after Mutt starts, but disappears after sidebar-open. I can use sidebar-toggle-visible to show it until the next sidebar-open, but sidebar-toggle-visible can't hide the sidebar (i.e. it does not "toggle").

@tsuflux Thanks for the info about colors, I'm pretty sure that is the problem as my colorscheme hasn't been updated for a long time.

flatcap commented on 2016-06-22 12:55

> Since the last update of the sidebar.patch
When was that? Are you a regular updater of this package?

Yes, Sidebar has no dependencies.

tsuflux commented on 2016-06-22 12:20

@lahwaacz, how does your config look like? By default the sidebar is not shown. You have to enable `sidebar_visible`. How do you change the folders? Other than an odd macro or a bug I see no reason why the sidebar should close itself.

I am certain that the sidebar patch does not require any other patches. I believe @flatcap would have told me otherwise by now. Regarding the row selector, please have a look at [1] under the sixth section (Colors). As far as I can remember the older sidebar patches did not provide all those configuration options. Your indicator probably just has the same color as the background.


lahwaacz commented on 2016-06-22 11:39

Since the last update of the sidebar.patch, the sidebar is shown after mutt starts, but disappears after switching a folder. If the patch comes from neomutt, are you sure that it does not depend on other patches? I've had other problems with previous versions as well, e.g. the row selector not being highlighted correctly etc.

drkhsh commented on 2016-06-15 07:00

@tsflux, tested the package, works great!

drkhsh commented on 2016-06-15 06:56

@tsflux, thank you very much!

flatcap commented on 2016-06-14 20:21


tsuflux commented on 2016-06-14 17:58

@drkhsh, I have updated the package using @flatcap's simple fix by manually editing the patch (Ugly, I know. However I still need to familiarize myself with how to create proper patches from NeoMutt.). I can't tell if it works now as I don't experience this issue at all.

flatcap commented on 2016-06-14 17:16

Great. I'll commit the change.

drkhsh commented on 2016-06-14 16:19

@flatcap building and installing with sudo make install worked without any problems and the error is gone now!

drkhsh commented on 2016-06-14 16:18

@flatcap thanks for the instructions, building was not the problem for me though! :P

But yes, would be nice if @tsflux could update it!

flatcap commented on 2016-06-13 21:17

Sorry, I don't have access to update the package.
@tsuflux might be able to set something up.

Alternatively, it's quite simple to build:

cd neomutt-issue-49
autoreconf -i
./configure --prefix=/usr --sysconfdir=/etc --enable-gpgme --enable-pop --enable-imap --enable-smtp --enable-hcache --with-curses=/usr --with-regex --with-gss=/usr --with-ssl=/usr --with-sasl --with-idn --enable-sidebar

The configure command is long, ending in --enable-sidebar

drkhsh commented on 2016-06-13 19:40

@flatcap Can you please update the AUR package?

drkhsh commented on 2016-06-13 19:38

Yes it works, but as you said the cursor is at the bottom of the divider.
I will test your fix! Thank you very much!

flatcap commented on 2016-06-13 17:18

I've created an issue to track the problem:

and committed a possible fix:

Please can you let me know if this helps.

flatcap commented on 2016-06-13 14:56

Thanks for the report.
I've just tested the latest version.

I see a repainting problem, but the cursor/input still functions correctly.
(the cursor appears to be at the bottom of the sidebar divider)

Does the cursor/input still work?

drkhsh commented on 2016-06-13 14:34

On the newest version, the cursor in all input prompts is broken if the sidebar is not hidden.

flatcap commented on 2016-06-07 18:43

@tzok, @tsuflux
I think I've found your problem. I think you need to set $reflow_wrap.
By default, `set reflow_wrap=78`, which means the text is wrapped, even if reflowed.
Setting `set reflow_wrap=0` will wrap at the screen's edge, which is what you want.

tsuflux commented on 2016-06-06 12:11

@tzok, thank you for your examples and settings. It looks like the pager substracts `sidebar_width` from `reflow_wrap` when calculating the width of the displayed text. I have not noticed this because I am using a very thin sidebar anyway. But with `sidebar_width` set to 48 and `reflow_wrap` set to the default value of 78, this would result in 30 characters per line. I will report this issue upstream at NeoMutt. Thank you for your bug report.

tzok commented on 2016-06-06 11:09

@tsuflux, if this helps you:
- My terminal under my current resolution and font size has 158 characters per line
- My sidebar_width parameter has value 48
- Messages with format=flowed seem to be displayed with ~30 characters per line

tzok commented on 2016-06-06 11:04

@tsuflux, the messages indeed have "Content-Type: ...; format=flowed"

This is an example of obfuscated mail body:
This is how it looks like in mutt's pager in 1.6.1-2:

tsuflux commented on 2016-06-03 21:31

@tzok, could you give me some examples for badly wrapped messages? There are really only two changes in the sidebar patch introduced by 1.6.1-2: A fix for format=flowed messages [1] and a way for reporting the pager width to external programs using the COLUMNS environment variable [2].


tzok commented on 2016-06-03 18:17

Version 1.6.1-2 has broken pager in mutt. Without any change in configuration, some messages started to have lines very badly wrapped. I have reverted through git to 1.6.1-1 and everything works fine in this version.

tsuflux commented on 2016-05-30 18:44

@dlh, there is nothing to fix. The problem is on your end. Please read what I've already told @thomasplessner.

makepkg wants to verify to mutt source tarball using the PGP signature in the asc file. For that you need the appropriate key in your keyring.

dlh commented on 2016-05-30 17:31

Still not fixed

==> Verifying source file signatures with gpg...
mutt-1.6.1.tar.gz ... FAILED (unknown public key ADEF768480316BDA)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build mutt-sidebar.

dlh commented on 2016-05-23 18:51

@tsuflux Yes, I refer to the same issue.

thomasplessner commented on 2016-05-20 17:32

Thanks, of course that helped. Didn't have do that in the past though.

tsuflux commented on 2016-05-20 17:11

@thomasplessner, well that's simply a matter of `gpg --recv-keys <key-id>`. Without the correct developer key in your keyring, makepkg cannot verify the signature. See also here [1].

@dlh, do you have the same issue? "gpg mismatch" sounds like something else.


thomasplessner commented on 2016-05-20 16:59

Verifying source file signatures with gpg...
mutt-1.6.1.tar.gz ... FAILED (unknown public key ADEF768480316BDA)
==> ERROR: One or more PGP signatures could not be verified!

tsuflux commented on 2016-05-19 19:15

@dlh, what do you mean exactly? The `mutt-1.6.1.tar.gz` itself does not verify against the provided PGP signature? That's odd. Works fine for me and the `mutt` package from [extra].

dlh commented on 2016-05-19 19:05

There is a gpg mismatch upon verification of a new version of mutt-sidebar.

tsuflux commented on 2016-05-19 18:41

Since @cambid disowned this package in favor of NeoMutt, I've decided to jump in.

mutt-sidebar is now based upon the sidebar and trash patches from NeoMutt which are very well maintained. Have a look at the new sidebar [1] which comes with a few minor changes regarding the configuration.


cambid commented on 2016-05-19 11:43

@all: I've changed to neomutt and disowned this package.

tsuflux commented on 2016-05-10 08:03

Because Lunar Linux has yet to update its sidebar patch to 1.6 cambid used the Debian patches once again which need the "patch-for-first-char-jf.patch" and "shortpath.patch".

I'd recommend using the NeoMutt patches for the sidebar and trash which can be found here:

markoer commented on 2016-05-09 15:18

Fix for string length of mail dir's, being cut!

open sidebar.patch, on line 1904 there is sidebar_folder_name definition. Remove +1 at the end of line! Then recompile!

Rhinoceros commented on 2016-05-05 23:19

I had some problems with the sidebar (as I posted previously). I've also found that <sync-mailbox> is *much* slower after the mutt update to 1.6.0. I've since tried neomutt [3], which includes the sidebar patch and a few other things. It fixes the sidebar problem, and adds a few other useful configuration items to the sidebar. I definitely recommend checking it out!

(Unfortunately it doesn't fix the slowness, but I guess that's just some inefficiency introduced in vanilla mutt 1.6.0.)


vevais commented on 2016-05-05 22:18

I have the same bug as mbunkus stated. Hope this will get fixed soon.

mbunkus commented on 2016-05-05 15:17

The latest update causes the folder names to miss their first character for me. Instead of "INBOX" I see "NBOX", instead of "matroska" it's "atroska" etc.

My configuration hasn't been changed. I use the following settings:

set sidebar_width=24
set sidebar_visible=yes
set sidebar_delim='|'
set sidebar_sort=yes

color sidebar_new red default

I've played with "sidebar_width", but changing that value doesn't change the error itself.

Rhinoceros commented on 2016-05-02 00:34

The latest update seems to have introduced a bug in the sidebar patch. Now, it's showing a long path to my mail folders, e.g. `mail/alias-inbox/main` (but truncated, see here [3]). I haven't changed my muttrc, which worked fine for the previous version. I downgraded to double check, and the following in muttrc works fine.

set sidebar_shortpath = yes

This results in `main` in the sidebar. (FWIW if I change this to `no`, then it's not exactly the same as the current version either, instead showing `alias-inbox/main`.)


tsuflux commented on 2016-02-13 12:23

@googol: Looks like cambid decided to once again use the sidebar patch from Lunar Linux.

@all: Are "patch-for-first-char-jf.patch" and "shortpath.patch" still necessary? Everything works fine here without them.

googol commented on 2016-02-05 16:27

Was it intended to remove some patches? E. g. sidebar-newonly.patch?

vonpupp commented on 2016-01-31 15:32

Hello, please add 'armv6h' to the supported architectures of the PKGBUILD, to be able to use this package on raspberry pi v1 boards. Thanks!

untitaker commented on 2016-01-30 18:50

base-devel is implicitly required for building AUR packages, as explained in the wiki.

smu commented on 2016-01-30 18:45

I just did a fresh arch linux installation and found that automake and autoconf are required to compile this package. Shouldn't this be added to the dependencies? thanks.

jeaye commented on 2016-01-30 03:35

I'm having the enter-pgp-passphrase-twice issue, which was reportedly solved by -- is this included in mutt-sidebar?

cachereturn commented on 2016-01-24 15:28

9/19/15 update introduced a regression where symlinks in mailbox folders show as having zero messages. I have only had this happen to the first folder in the list. Doing sidebar-open on the folder causes the message count to update correctly, but it is always zero on load.

ephaeton commented on 2015-09-25 11:23

@spacepluk thanks for the hint, I tried mutt-patched, but it has its own issues (sidebar rendering breaks upon reading a message, status line is broken up, "i" keybind (return to index) doesn't work in a message out of the box). The sidebar isn't worth that hassle to me (I rather have a functioning mutt experience than two broken mutt experiences with sidebars), thanks for the effort though

spacepluk commented on 2015-09-20 11:19

@cambid: ah ok :)

@ephaeton: I just tried your macro with mutt-patched and it seems to work fine.

cambid commented on 2015-09-19 21:34

@all: Sorry, I don't have time for fixing the problems with the patches and the regression. If someone is interested, I'm happy to hand this package over.

@aouellette: Thanks for bringing this to my attention. The problem with ncurses.6 is fixed in pkgrel=2.

@spacepluk: I've used the patches from the git-repo of you aur-package mutt-patched. If you have newer patches I would be happy to give them a try.

aouellette commented on 2015-09-19 20:44

Current version does not work with ncurses 6. Is it possible to update the package soon?

spacepluk commented on 2015-09-16 09:10

@cambid do you mean debian's mutt-patched? or is there anywhere else I can get those patches from?

I created mutt-patched ( some time ago but for this update I had to rebase the patches myself because I couldn't find updated versions anywhere.

ephaeton commented on 2015-09-15 15:28

It seems to break <next-unread-mailbox> in general. The following works in mutt, but not in mutt-sidebar:

macro index \' '<next-unread-mailbox>'

ephaeton commented on 2015-09-15 13:15

@cambid The new version also adds a regression.

Previously, on change folder (default keybind: c), per default the next unread folder would be input. Now, the default input is empty. So before you could cycle through your mail folders that had received mail via c-enter, c-enter, etc.

Now you have to enter the name or navigate to them. So clunky. Default mutt 1.5.24-1 doesn't have this regression.

cambid commented on 2015-09-13 09:50

@osandov: Yes. I've moved away from the lunar-linux-patch and use the patches from the mutt-patched-package. Unfortunately these removed some options.

osandov commented on 2015-09-13 06:13

The latest update (to 1.5.24) seems to have dropped some options which are in the latest patch set on the Lunar Linux site (at least sidebar_format, sidebar_shortpath, and sidebar_folderindent).

badboy commented on 2015-05-09 15:32

@dlh: Both `autoconf` and `automake` are in the `base-devel` group.
As per wiki:

> Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

Thus your patch is not needed.

untitaker commented on 2015-05-09 15:31

That stuff is in base-devel which is a prerequisite for every AUR package.

dlh commented on 2015-05-09 15:27

Consider applying this patch:

--- PKGBUILD.txt 2015-05-09 17:24:49.591874042 +0200
+++ PKGBUILD.txt2 2015-05-09 17:25:19.438416765 +0200
@@ -10,6 +10,7 @@
depends=('gpgme' 'krb5' 'libidn' 'mime-types')
+makedepends=('autoconf' 'automake')
optdepends=('smtp-forwarder: to send mail')

cambid commented on 2015-03-20 21:11

@duckunix: I added the armv7l-arch to pkgver=10
@confusedfla: I get the same error when building on a existing src-directory. Please delete the src-dir before building.

duckunix commented on 2015-03-20 11:06

ah, sorry...the BBB is an armv7l, not armv6l. :)

duckunix commented on 2015-03-20 03:53

@confusedfla - No, I am not seeing that on x86-64, armv7h, or armv6h

@cambid - thanks for adding armv7h to the supported architectures. Can I bother you for armv6h? It seems to be working for me there, as well.

armv6h = Rasberry Pi (Model A)
armv7h = HP Chromebook 11 G1

I just got my Beaglebone Black running again (armv6l), and I will give it a shot there.

Thanks for your work on this!


confusedfla commented on 2015-03-16 23:10

anyone else also getting this error?

patching file protos.h
The next patch would create the file sidebar.c,
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file sidebar.h,
which already exists! Skipping patch.
1 out of 1 hunk ignored
patching file doc/Muttrc
patching file imap/imap.c
patching file imap/command.c
==> ERROR: A failure occurred in prepare().

duckunix commented on 2015-02-19 12:01

Can you add 'armv7h' to the supported architectures? It works just great on the ARM!

Thanks for the package!

untitaker commented on 2015-01-26 21:45

Sorry about that, it seems the patch has changed so drastically over these versions that the defaults (I only had visibility and width set) look crappy. I use a custom format now and it looks alright.

cambid commented on 2015-01-24 19:00

@untitaker: Can you please explain what exact is wrong with the display of the sidebar? Please also post your sidebar_-Options of mutt.

untitaker commented on 2015-01-24 18:34

The patch looks broken compared to version 1.5.21. It does apply, but the display is shitty:

cambid commented on 2015-01-17 15:04

@badboy,comotion: I uploaded pkgrel 7 with the included patch. Sorry for the late reply.

badboy commented on 2015-01-17 14:22

This package should just include the patch, I grepped it from the google cache and put it here:

comotion commented on 2014-12-04 19:17

This PKGBUILD doesn't use the right source for the mutt-sidebar patch.. and the source takes -ages- to download some measly kilobytes. lunar-linux might have been down before but no more, so please use the proper source for the patch:

cirrus commented on 2014-08-15 22:13

forgive my Gnubeness & sorry for the noise
(@ badboy i thought i needed both, i thought -sidebar was a sort of extension to mutt, i learned something today)

badboy commented on 2014-08-14 08:31

@cirrus: On reinstall of mutt? Why would you reinstall mutt if you have mutt-sidebar?

cirrus commented on 2014-08-13 23:06

mutt-sidebar and mutt are in conflict, remove mutt? y/n
went ahead and removed mutt, on reinstall i get mutt and mutt-sidebar are in conflict, remove mutt-sidebar? y/n
so it's a vicious circle, not sure if problem is with mutt/mutt-sidebar or PEBKAC.

cirrus commented on 2014-08-13 23:04

mutt-sidebar and mutt are in conflict, remove mutt? y/n
went ahead and removed mutt, on reinstall i get mutt and mutt-sidebar are in conflict, remove mutt-sidebar? y/n
so it's a vicious circle, not sure if problem is with mutt/mutt-sidebar or PEBAK.

x33a commented on 2014-06-12 13:37

@ cambid,

The problem is probably due to lunar linux's migration to a new host:

They said that the patches should be back up shortly. But, I believe that the patches should be bundled with the makepkg tarball itself, to avoid facing any such problem (host unreachable, download not found, etc) in the future.

cambid commented on 2014-06-11 16:58

@all: After trying to contact tchan via mail unsuccessful, i've uploaded a copy of the patch to my website and updated the PKGBUILD according to it.

spacepluk commented on 2014-06-11 16:08

I see, the debian patches have worked fine for me though. Let me know if you find a solution, I'll be happy to switch to a simpler setup.

x33a commented on 2014-06-11 15:59

@ spacepluk, thanks, I am aware of your package. But I would rather not use debian patches, as has been mentioned on this page:

If possible, I would like the lunar linux version, which incorporates all the changes in a single patch.

spacepluk commented on 2014-06-11 14:58

x33a, if you want give a try my package (mutt-patched) it also has the sidebar patch among others (all stolen from debian's mutt-patched). Also the patches are applied explicitly in the pkgbuild so you can disable some if you think it's too much.

x33a commented on 2014-06-11 14:50

As mentioned by spacepluk, the sidebar patch is giving a 404. In fact all the patches present on the following url are giving 404 errors.

Does anyone know the reason? Also, does anyone have a copy of the patch?

spacepluk commented on 2014-06-03 09:45

I ended porting all the debian patches into mutt-patched (

spacepluk commented on 2014-06-01 09:15

It fails to download the sidebar patch

emorkay commented on 2014-05-28 20:46


The link for sidebar patch source is returning a 404 error.

pigmonkey commented on 2014-04-15 18:12

I had the same problem but was able to fix it as per festlv yorumu's comment on 2013-04-14 22:00. Remove the trailing slash from `folder` in muttrc.

set folder = ~/.mail

Not working:
set folder = ~/.mail/

cambid commented on 2014-04-15 17:49

The problem only occurs with sidebar_shortpath=no and is hiding in sidebar.c in line 313 (remove the +1 at the end):

sidebar_folder_name = option(OPTSIDEBARSHORTPATH) ? mutt_basename(tmp->path) : tmp->path + maildir_is_prefix*(strlen(Maildir));

I'll provide a pre-fix for this package later this evening.

paladin commented on 2014-04-15 17:04

I reported into into patch upstream and I hope it'll be fixed

tpoisot commented on 2014-04-15 16:43

Yes, same problem here. The first character of the inboxes do not appear.

paladin commented on 2014-04-15 16:37

In latest version I dont see first character of folder names in sidebar.. anyone else have this bug?

Profpatsch commented on 2014-04-02 11:02

Downloading the .tar.gz times out.

lrizzo commented on 2014-03-13 19:03

This update fixes a buffer overflow where malformed RFC2047 header lines could result in denial of service or potentially the execution of arbitrary code as the user running mutt.


lrizzo commented on 2014-03-13 18:57


There was security release published yesterday - March 12, 2014
- Mutt 1.5.23 was released on March 12, 2014. This is security bugfix release.

I have updated the PKGBUILD and the checksums for people to install this release and update Mutt to the latest security release.

You can download the new PKGBUILD here -
You can download the diff here - (or see below)


- Updated to 1.5.23
- Changed the source from source=("${pkgver}.tar.gz" to source=("${pkgver}.tar.gz" because the 1.5.23 release is apparently not in the devel folder of

I hope this helps

Lucius Rizzo / Lucius.Tel

--- PKGBUILD.orig 2014-03-13 18:50:02.083336584 +0000
+++ PKGBUILD 2014-03-13 18:50:28.920003250 +0000
@@ -3,7 +3,7 @@
# Contributor: Gaetan Bisson <>

pkgdesc='Small but very powerful text-based mail client'
arch=('i686' 'x86_64')
@@ -13,10 +13,10 @@
optdepends=('smtp-forwarder: to send mail')

chneukirchen commented on 2014-02-01 12:45

@cambid: I thought I did that, but it works now.

cambid commented on 2014-01-31 21:41

@chneukirchen: can you please try to remove the pkg and src-directory manually before starting a build? If you need additional help feel free to contact me via jabber at or via mail

chneukirchen commented on 2014-01-30 12:54

Build breaks here...

cambid commented on 2014-01-29 20:09

@al3hex: Thanks for the pointer to the gentoo-patches and the updated PKGBUILD. I've updated the package in the AUR.

@all: Unfortunately the gentoo-patch doesn't provide/use the following options:


Maybe I'll find the time to reinclude these options into the gentoo-patch in one of the next version of the PKGBUILD. Contributors welcome ;)

al3hex commented on 2014-01-29 16:14

Fabian Groffen (Gentoo) updated the sidebar patch [1] against mutt 1.5.22.
Unfortunately, Gentoo's patch is not based on 1.5.22 source tarball.
The folks at OpenBSD rebased it [2] to apply to pristine mutt 1.5.22 sources.

Here's the updated PKGBUILD I wrote for myself:

Note: the 'groups' field is for my purpose only.


Raziel23 commented on 2013-12-02 08:53

I've checked different combinations with shortpath and folderindnet options and they behave the same like in the 1.5.21-11 version. Maybe some specific options that I haven't setup in my muttrc file may cause this issue. In version 1.5.22 the drawing functions was changed a bit and I've changed the sidebar patch to compile properly with those functions. I admit that I've a little knowledge about the mutt source code and I don't know what cause this issue.

Stebalien commented on 2013-12-01 19:06

Your shortpath and folderindnet options conflict. This might be an upstream bug but I haven't checked testing.

Raziel23 commented on 2013-11-13 16:35

A small update to the patch, I have removed unnecessary imap.c.orig and command.c.orig files (they should be removed before I created the patch). Here it is the updated patch:
and the updated PKGBUILD:

Raziel23 commented on 2013-11-13 15:23

If someone is interested I have made an update for the sidebar against mutt 1.5.22. The patch is based solely on the lunar patch (I have on also merge to it the sidebar-corrected-by-jf.patch file). I have run it so far without any issues. Maybe someone will be interested before Terry P. Chan will officially update the patch. Here it is the patch:
and here it is the updated PKGBUILD:

cambid commented on 2013-09-25 20:29

@vik_k: Thanks for posting this info. The link to lunar-linux works again.

vik_k commented on 2013-09-25 05:51

hi, first of all, thanks for this awesome package.
however, I am not able to build it now.
the connection to lunar linux times out.

do we have this patch staged anywhere else ?

cambid commented on 2013-07-30 06:03

@pigmonkey: Thanks for pointing me to the fix for #3300 in the official mutt-package of arch. I've included it into pkgrel=11 of this package.

pigmonkey commented on 2013-07-30 02:53

The current version of Mutt breaks when using gpgme. This is has been reported upstream and a patch has been submitted:

The patch is included with the official Arch package:

It'd be nice if mutt-sidebar would also include this patch!

whilealive commented on 2013-04-24 13:45

Yeah, that definitely fixes it for me too. Thanks!

Anonymous comment on 2013-04-14 22:00

@holos, @cambid:
I had the same problem, and after staring at sidebar patch's code for some time, I realized that the code there expects that mutt's folder variable does not end with slash.

set folder = ~/.mail

Not working:
set folder = ~/.mail/

holos commented on 2013-02-21 03:06

That fixes it, cambid. I had looked at the patch diff and experimented with different settings, but not that one.

cambid commented on 2013-02-20 06:01

I could reproduce your problem with one special configuration and think its
a problem in the upstream patch of lunar-linux.

Could you please test the following configuration in your muttrc:

set sidebar_shortpath=yes

Is the missing first character displayed with this configuration?

holos commented on 2013-02-20 04:43

The first column of characters in the sidebar gets nixed. For example, what would be 'inbox\drafts\sent' actually appears as 'nbox\rafts\ent'.

cambid commented on 2013-02-20 01:18

updated to the newest version of the lunar-linux-patch at 20130219 in pkgrel 10

cambid commented on 2013-02-06 19:23

changed to the in pkgrel 9

Profpatsch commented on 2013-02-06 15:42

For those interested, I changed the PKGBUILD a little to use the (better) Lunar Linux version of the sidebar.

I could do a mutt-sidebar-lunar, but I’m not too keen for that. Maybe you want to change this version here.

Profpatsch commented on 2013-02-06 14:33

Have you considered using the sidebar patch from Lunar Linux? I’m missing the sidebar_format option.

cambid commented on 2013-01-15 05:56

updated with new debian patches and included some sidebar-patches (dotted, sorted and utf-8)

cambid commented on 2012-10-12 06:22

Hi Folks

Sorry for the late response. I've fixed the $srcdir-problem in pkgrel=7.

Kind regards

Anonymous comment on 2012-10-11 15:29

same patch not found problem for me too.... My SRCDEST variable is defined in ~/.makepkg.conf.... so kindly replace both patch lines with patch -i $srcdir/foo.patch

Anonymous comment on 2012-09-17 14:46

It looks for the patch in $startdir, instead of $startdir/src.

mlq commented on 2012-09-14 08:51


onny commented on 2012-09-13 18:07

there's an other page which provides the patches

onny commented on 2012-09-13 17:38

the sources to the patches are down :(

buergi commented on 2012-07-10 22:32

I also included all of the other debian sidebar 1.5.21-6.1 patches from
It build just fine, so if anyone is interested.

jimmyxu commented on 2012-07-08 13:00

The Debian sidebar patch is now with 1.5.21-6.

uzsolt commented on 2012-06-09 12:48

Please add conflicts=mutt.

nem commented on 2012-04-29 00:44

sorry. rebuilt the package. everything's fine.

nem commented on 2012-04-29 00:34

out of date:
$ mutt
mutt: error while loading shared libraries: cannot open shared object file: No such file or directory

$ ls /usr/lib|grep libgdbm

cambid commented on 2012-03-14 19:17

@Raziel23: Thanks for the suggestions. I've updated this package to version 1.5.21-2 today.
@rogorido: Can you please test the new package with your problems and give me some feedback of your tests.

Raziel23 commented on 2012-03-11 21:22

@rogorido I have had the same problem, because the author of included here sidebar patch created it mainly from the debian mutt-patched package 1.5.21-2 (as claim in README). The problem was found in version 1.5.21-3 of debian package according to this website:
and was fixed in version 1.5.21-5, which means that included here sidebar patch is out of date. I have download the sidebar patch from debian website and I have only added to it lines that modify file (without those lines build failed). Below I attached mentioned patch:

rogorido commented on 2012-03-07 07:58

thks for providing the package, but the last update has a problem for me. The number of unread messages is not shown properly in the sidebar. Any hints?

cambid commented on 2012-03-01 05:59

updated to 1.5.21

gauthma commented on 2012-01-15 13:07

I use this AUR package, and I've stumbled across a bug that is specific to this package: it doesn't affect the mutt from [extra]. More details here:

In short, if you mistype the name or path of the mail sending program, mutt just says "mail sent" anyway, leaving you none the wiser. It's not an "urgent" problem, but it could become quite an annoyance when sending important mails...

Anonymous comment on 2012-01-09 17:03

If anybody is interested, the development of the sidebar patch for mutt should continue here:

cambid commented on 2011-12-02 06:37

bumped the pkgrel for gdbm-rebuild

tzok commented on 2011-12-02 05:53

After recent update of gdbm, mutt requires to be recompiled. I suggest bumping the pkgrel, so that everyone gets it.

Anonymous comment on 2011-04-26 19:35

Works fine with Yorokobi's suggestions below.

praetorian commented on 2011-04-14 03:17

Ok. Ignore.. seems it might not have liked my 250k+ mailbox...

praetorian commented on 2011-04-14 01:21

I just tried using this, and I'm getting this SIGALART on trying to bring up the sidebar.. using the settings from Terry P's page verbatim.

Program received signal SIGABRT, Aborted.
0x00007f0dca112655 in raise () from /lib/

System is 64 bit, and all packages were just updated the other day (note, I didn't use mutt-sidebar previously)

Anonymous comment on 2011-01-13 19:30

I confirm that the updated patch below works fine with IMAP too.

cambid commented on 2010-12-04 22:07

Please stop flagging this package out of date. The official sidebar-patch from Terry P. Chan is not updated to 1.5.21.

zeltak commented on 2010-12-04 22:01

hi Yorokobi

i cant seem to follow your explanation on how to install it , i get an error about :

=> ERROR: sidebar-5302767aa6aa was not found in the build directory and is not a URL.

any ideas



yvonney commented on 2010-11-04 05:05

Something simple: ??
During make everything passed except:
==> Validating source files with
sidebar-5302767aa6aa ... FAILED
==> ERROR: One or more files did not pass the validity check!

Anonymous comment on 2010-10-04 23:36

Although not updated by Terry P. Chan, there is a mutt-sidebar patch for 1.5.21 available from (see for the announcement).

I modified the PKGBUILD and posted it to for anyone interested. Grab and unpack the tarball then substitute the PKGBUILD and place the sidebar patch in the same directory as the other patches.

I have tested it only with my local delivery mailboxes (mbox format) and it works great; the new $mail_check_recent flag works like a charm. I can't speak to how well it works with IMAP/POP3, Maildir, or SSL.

Anonymous comment on 2010-07-26 11:55

As you can guess, the differece is that with this package you get a persistent sidebar with a list of your mail folders. Just follow the URL above for further infos about the sidebar patch.

Anonymous comment on 2010-07-26 04:27

forgive my ignorance i'm just switching to mutt, which's the difference between this package and the official mutt package? in other words, why should i choose this package instead extra/mutt? thank you!

print commented on 2010-07-23 02:31

I had the same issue as Steve1234. export TERM=rxvt-256color fixed that.

print commented on 2010-07-23 02:28

I have the same issue as Steve1234 regarding colors.

steve1234 commented on 2010-05-04 19:35

With mutt-sidebar-1.5.20-2 and mutt-sidebar-1.5.20-4 I get this error when starting mutt:

Error in /root/.mutt/colours, line 3: 240: color not supported by term
Error in /root/.mutt/colours, line 4: 240: color not supported by term
Error in /root/.mutt/colours, line 6: 188: color not supported by term
Error in /root/.mutt/muttrc, line 330: source: errors in /root/.mutt/colours
source: errors in /root/.mutt/muttrc
Press any key to continue...

With mutt-sidebar-1.5.20-1 it works fine.

anpieber commented on 2010-04-10 09:19

that did the job! thank you very much!

cambid commented on 2010-04-10 09:08

Argh, Out-Of-Sync-Mirror :(
Now included the ssl-patch for openssl-1.0.0

anpieber commented on 2010-04-10 08:10

ok, there's a real problem with ssl...

mutt does not start at all with the new version of ssl; reinstalling mutt-sidebar reveals the error as described by brisbin33. Using his PKGBUILD, but removing the install tag from it and finally dowloading the ssl patch ( works. Now mutt-sidebar works again :)

kind regards

cambid commented on 2010-04-09 18:36

@brisbin33: Which new ssl? I have installed openssl 0.9.8n-1 and the package builds without problems.

brisbin33 commented on 2010-04-09 18:23

FYI: this doesn't build with new ssl. I've taken the repo PKGBUILD (which has an ssl patch) and applied the sidebar patch to it. A working PKGBUILD can be downloaded here: