cask :v1 => 'time-out' do

  if MacOS.release <= :snow_leopard
    version '1.6.5'
    sha256 '2ceec8d8938af0acf32af601337c129087bb3b8c132c1f18e6eb3581788b8a49'
  else
    version '1.7.1'
    sha256 '3c9892344c8313b8ccf0a76cceb00834ddbe26e5114bcd674c4fd53aeb44e310'
  end

  url "http://www.dejal.com/download/timeout-#{version}.zip"
  homepage 'http://www.dejal.com/timeout/'
  license :gratis

  app 'Time Out.app'
end
