cask :v1 => 'serviio' do
  version '1.5.1'
  sha256 '65964602b8ea1ddc29dfefa1452610b84884caa996c02342cc9ba35d5a34d0f4'

  url "http://download.serviio.org/releases/serviio-#{version}-osx.tar.gz"
  name 'Serviio'
  homepage 'http://serviio.org/'
  license :commercial

  pkg "Serviio-#{version}.pkg"
end

cask :v1 => 'serviio' do
  version '1.4.1.2'
  sha256 '132ed6ba9baf466eec5d89789cd8d50163fa5b534899f10a9232e00f711707aa'

  url "http://download.serviio.org/releases/serviio-#{version}-osx.tar.gz"
  name 'Serviio'
  homepage 'http://serviio.org/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  app 'Serviio.app'
  app 'Serviio-Console.app'
end

--- 
+++ 
@@ -1,12 +1,11 @@
 cask :v1 => 'serviio' do
-  version '1.4.1.2'
-  sha256 '132ed6ba9baf466eec5d89789cd8d50163fa5b534899f10a9232e00f711707aa'
+  version '1.5.1'
+  sha256 '65964602b8ea1ddc29dfefa1452610b84884caa996c02342cc9ba35d5a34d0f4'
 
   url "http://download.serviio.org/releases/serviio-#{version}-osx.tar.gz"
   name 'Serviio'
   homepage 'http://serviio.org/'
-  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
+  license :commercial
 
-  app 'Serviio.app'
-  app 'Serviio-Console.app'
+  pkg "Serviio-#{version}.pkg"
 end
Update Serviio to version 1.5.1
