No person shall manufacture, store, sell, or deal in gunpowder or any material or compound . . . unless he shall first obtain from the commissioner of state police or the fire marshal of the town where such business is conducted a written license therefor . . . which license shall specify the building where such business is to be carried on or such material deposited or used.