class Nwlogin < Formula
  homepage 'https://github.com/chiayolin/nwlogin'
  url 'https://codeload.github.com/chiayolin/nwlogin/tar.gz/v1.1'
  version "1.1"
  sha256 'e4c1682e3881a6d6c175e9ad02b69b159428708f222706e9d6b13518e7dda026'
  head 'https://github.com/chiayolin/nwlogin'

  def install
    bin.install 'bin/nwlogin'
  end

  test do
    system "#{bin}/nwlogin"
  end
end
