{pkgs, ...}: {
  programs.neomutt = {
    enable = true;
    package = pkgs.writeShellScriptBin "neomutt" ''
      systemctl --user start mbsync.service;
      ${pkgs.neomutt}/bin/neomutt;
    '';
    vimKeys = true;
    checkStatsInterval = 60;
    binds = [
      {
        action = "imap-fetch-mail";
        key = "g";
        map = ["index"];
      }
    ];
  };
}
# vim: ts=2