{
  config,
  lib,
  pkgs,
  ...
}: {
  options.dotfiles.inputs.home-manager.home.packages.thunderbird.enable =
    lib.dotfiles.mkEnableOption;

  config =
    lib.mkIf
    config.dotfiles.inputs.home-manager.home.packages.thunderbird.enable
    {
      # TODO: Replace the explicit package declaration with the
      # programs.thunderbird.enable option, and replace Thunderbird-generated
      # files with Nix email declarations.
      home.packages = [pkgs.thunderbird];
    };
}
