The static quark effective theory