class nodo::utils::network::irssi {
  package { [ 'irssi', 'bitlbee', 'irssi-scripts' ]:
    ensure => installed,
  }

  package { [ 'ttytter', 'libterm-readkey-perl' ]:
    ensure => present,
  }

  package { 'irssi-plugin-otr':
    ensure => installed,
  }

  # These are needed by the cap_sasl.pl irssi plugin
  package { [ 'libcrypt-blowfish-perl', 'libcrypt-dh-perl', 'libcrypt-openssl-bignum-perl' ]:
    ensure => installed,
  }

  # Not on wheezy
  package { 'irssi-plugin-silc':
    ensure => $::lsbdistcodename ? {
      'wheezy' => absent,
      'jessie' => absent,
      default  => absent,
    }
  }
}