The school board of any school district in this state is hereby authorized and empowered to lease its grounds, or any part thereof, for oil and gas exploration and development, for a primary term not to exceed ten years and as long thereafter as oil or gas is or can be produced. Such sale may be at private or public sale, and with or without notice, as may be provided in the resolution of the school board authorizing the same.
SDCL 13-24-5