All school boards are authorized and required to erect and maintain upon each public school building or upon the grounds surrounding the same, a good and sufficient flagstaff or pole, together with all necessary appliances, and to provide a United States flag of not less than three by five feet, which shall be floated from such flagstaff or pole during the school hours of each school day, except when a violent storm or inclement weather would destroy or materially injure such flag. The expenses shall be paid as other incidental expenses of the school district.
SDCL 13-24-17